package hcn.protocol.brandnew.zhenliao.yaopin;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 病区列表查询-响应消息（成功） - ODS_03120021_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class ListPatientAreasResponse {

    /**
     * 病区列表
     */
    @XmlElementWrapper(name = "WardAreaLists")
    @XmlElement(name = "WardAreaList")
    private List<WardAreaList> wardAreaLists;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class WardAreaList {

        /**
         * 病区代码
         */
        @XmlElement(name = "WardAreaCode")
        private String wardAreaCode;
        /**
         * 病区名称
         */
        @XmlElement(name = "WardAreaName")
        private String wardAreaName;
    }

}
